Repository navigation
chore: re-validate patch-package patches for RN 0.83 / Expo 55 - #7474
Conversation
Filename was stale (14.0.10 → resolved 55.0.8, Expo SDK 55 renumber). Hunks are byte-identical across versions (native Android font-loader fallback); rename resolves the patch-package version-mismatch warning.
Filename was stale (2.28.0 -> resolved 2.30.1). Added iOS keyboard-focus methods on RNGestureHandlerButton are unchanged, but the insertion point shifted (hunk @@ -89 -> @@ -82), so hunks were regenerated against 2.30.1 to be exact rather than fuzzy-applied.
Filename was stale-ahead (13.16.1 vs resolved 13.16.0). package.json pins react-native-webview to exact 13.16.0, so regenerate down to match (no dep bump). Android client-cert / mutual-TLS hunks are unchanged; only the version in the filename and the patch index hashes are corrected.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📜 Recent review details⏰ Context from checks skipped due to timeout. (1)
🔇 Additional comments (1)
WalkthroughThis PR adds a local ChangesExpo-AV shim replacement
Expo factory app startup wiring
Gesture handler iOS focus patch
Estimated code review effort: 4 (Complex) | ~45 minutes Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The dark expo-av shim declared async methods with no await, tripping the require-await eslint rule (15 errors, failing CI). Return Promise.resolve() from plain methods instead — identical return types and behavior, lint clean.
|
Android Build Available Rocket.Chat 4.75.0.109310 Internal App Sharing: https://play.google.com/apps/test/RQQ8k09hlnQ/ahAO29uNQSS9pbbxEbBA3uj5gkXvcxXTYOh8iUYqLWh9vpLCOMFyCzjJ9BsPedBZHRsCK6PSRI6kb4bTgSXEqz2tJ2 |
Expo SDK 55 removed bindReactNativeFactory (expo/expo#39418) and moved recreateRootView into the factory, and its generated ExpoModulesProvider.swift now uses `internal import Expo` (SE-0409), making the bare `import Expo` ambiguous. - `public import Expo` — explicit access level; public since AppDelegate is a public subclass of ExpoAppDelegate - RCTReactNativeFactory -> ExpoReactNativeFactory (+ delegate base RCTDefaultReactNativeFactoryDelegate -> ExpoReactNativeFactoryDelegate) - drop the removed bindReactNativeFactory call
|
iOS Build Available Rocket.Chat 4.75.0.109315 |
|
Android Build Available Rocket.Chat 4.75.0.109318 Internal App Sharing: https://play.google.com/apps/test/RQQ8k09hlnQ/ahAO29uNSi-UddnPRVCX0M--WDkLuTW3t4bAkuKVEUvra2eFSCvOKunypNZ17JqkcSF3MJ_wO6J35_jz-Kww1yHyuR |
Proposed changes
Re-validates every
patch-packagepatch against the target versions on the RN 0.83 / Expo SDK 55 upgrade, and unblocks the build where Expo SDK 55 dropped a dependency.expo-av(removed in Expo SDK 55): adds a single no-op shim (app/lib/methods/helpers/expoAvShim.ts) and swaps imports across the audio/video/VoIP-sound call sites, then dropsexpo-avfrompackage.json. Those media features are intentionally dark for now; restoring them viaexpo-audio/expo-videois separate follow-up work.patch-packageversion-mismatch warnings):expo-font14.0.10 → 55.0.8(SDK renumber; native Android font-loader fallback, hunks unchanged)react-native-gesture-handler2.28.0 → 2.30.1(native iOS keyboard-focus onRNGestureHandlerButton; insertion point shifted, hunks regenerated to be exact)react-native-webview13.16.1 → 13.16.0(regenerated down to the pinned version; Android client-cert / mutual-TLS support)The other 16 patches were confirmed to apply cleanly against the target versions and left unchanged.
Issue(s)
https://rocketchat.atlassian.net/browse/NATIVE-1237
How to test or reproduce
pnpm install—patch-packageshould apply all patches with zero version-mismatch warnings.npx tsc --noEmit— clean.TZ=UTC pnpm test— green.Native runtime behavior of the regenerated patches (device audio / gesture / webview) rides the upgrade epic's CI iOS/Android build lanes; this PR's local bar is the compile-level gate.
Screenshots
N/A — build/patch tooling only, no visible UI change.
Types of changes
Checklist
Further comments
Targets the upgrade integration branch
chore/rn-0.83-expo-55, notdevelop.react-native-mmkvis out of scope (already resolved to 4.3.1 on the integration branch). No patch was dropped — none of the patched behaviors were upstreamed.Summary by CodeRabbit